package part5;

import part6.Part63;

import java.util.Arrays;

/**
 * @author wcj
 * @Date 2021/5/13 17:05
 * @Version 1.0
 */
public class Part512 {
    public static void main(String[] args) {
        String[] arr = {"wcj", "shan"};
        Part512 part512 = new Part512();
        part512.test(1, arr);
    }

    /**
     * 可变参数列表，String... args 实际上等于String[] args
     *
     * @param market
     * @param args
     */
    public void test(int market, String... args) {
        System.out.println("market:" + market + ",String array:" + Arrays.toString(args));
    }

    public void test2(int market, String[] args) {
        System.out.println("market:" + market + ",String array:" + Arrays.toString(args));
    }
}
